﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using MobileBroadbandLoggingMonitorUI.UI.Interfaces;

namespace MobileBroadbandLoggingMonitorUI.UI
{
    public class DialogPresenter : IDialogPresenter
    {
        #region IPresenterDialog Members

        public override DialogResult ShowDialog(string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon)
        {
            return MessageBox.Show(text, caption, buttons, icon);
        }

        public override string ShowDirectoryPicker()
        {
            FolderBrowserDialog folderBrowserDialog1 = new FolderBrowserDialog();
            folderBrowserDialog1.ShowDialog();
            return folderBrowserDialog1.SelectedPath;
        }

        #endregion
    }
}
